-- GENERATED SPELL FOR [Defias Convict] --


function spell0_1711(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1711', 2305, 1)
end

function Sorts_1711(pUnit, Event)
local choix_sorts_1711 = math.random(0, 0)
if choix_sorts_1711 == 0 then
pUnit:RegisterEvent('spell0_1711', 1, 1)
end
end

function mob1711_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1711', math.random(1500, 3000), 1)
end

function mob1711_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1711_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1711_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1711, 1, 'mob1711_Action')
RegisterUnitEvent(1711, 2, 'mob1711_Leave')
RegisterUnitEvent(1711, 3, 'mob1711_Kill')
RegisterUnitEvent(1711, 4, 'mob1711_Die')
